<include file="Index:header" />
<!--头部 end -->
<!--左栏 starts -->
<div class="container-fluid">
		<div class="row-fluid">
			<include file="left" />

			<div id="content" class="span10">
			<!-- content starts -->
<!--左栏 end -->
<ul class="breadcrumb">
      <li>
        <a href="__APP__/TIFAWEB_DSWJCMS.html">首页</a> <span class="divider">/</span>
      </li>
      <li class="active">实名认证</li>
</ul>
<table class="table table-striped table-bordered table-condensed datatable ">
            <thead>
              <tr>
                <th>ID</th>
                <th>用户名</th>
                <th>真实姓名</th>
                <th>性别</th>
                <th>民族</th>
                <th>出生日期</th>
                <th>身份证</th>
                <th>籍贯</th>
                <th>操作</th>
              </tr>
            </thead>
            <tbody>
<volist name="audit" id="vo">
                <tr>
                <td>
                       {$vo.id}
                </td>
                <td>
                       {$vo.username}
                </td>
                <td>
                      {$vo.name}
                </td>
                <td>
                      {$vo.gender}
                </td>
                <td>
                      {$vo.national}
                </td>
                <td>
                      {$vo.born|date="Y-m-d",###}
                </td>
                <td>
                      {$vo.idcard} 
                      <span>
                        <foreach name="vo.idcard_img" item="v">
                            <a href="__PUBLIC__/uploadify/uploads/idcard/{$v}" class="cboxElement">
                            证件{$key+1}
                            </a>
                        </foreach>
                      </span>
                </td>
                <td>
                      {$vo.native_place}
                </td>
                <td>
                    <a href="#audit" data-toggle="modal" data-rel="tooltip" class="icon icon-color icon-book" title="审核" onclick="$('#up_id').val({$vo.id});"></a>
                </td>
              </tr>
			  <input name="id[]" type="hidden" value="{$vo.id}" />
</volist>
            </tbody>
          </table>
<div>
</div>
<!--审核 start-->
<div id="audit" class="modal hide fade in" >
    <div class="modal-header">
      <a class="close" data-dismiss="modal" >&times;</a>
      <h3>审核</h3>
    </div>
    <div class="modal-body">
    <form method="post"  action='__APP__/TIFAWEB_DSWJCMS/Audit/iUpdas'>
		<input name="q" type="hidden" value="ufo" />
        <input name="u" type="hidden" value="__APP__/TIFAWEB_DSWJCMS/Audit/autonym.html" />
        <input name="n" type="hidden" value="审核" />
        <input name="o" type="hidden" value="certification" />
        <input name="e" type="hidden" value="实名认证通过" />
        <input id="up_id" name="sid" type="hidden" value="" />
        <p class="form-inline">   
          <label class="radio"><input type="radio" name="certification" value="2" checked/> 通过</label>
          <label class="radio"><input type="radio" name="certification" value="3" /> 不通过</label>
        </p>
        <div class="span10">
      	  <img id="verifyImg" src='__APP__/Public/verify/' onClick="changeVerify()" title="点击刷新验证码" data-rel="tooltip" style="cursor:pointer;padding-left: 10px;"/>
          <input class="input-large" name="proving" type="text"  style="width:50px;margin-top: 10px;" title="验证码" data-rel="tooltip"/>
          <button class="btn btn-primary" type="submit">
              确认提交
          </button>
      	</div>
    </form>
    </div>
</div>
<!--审核 end-->
<!--底部 -->
<script>
function changeVerify(){
    var timenow = new Date().getTime();
    document.getElementById('verifyImg').src='__APP__/Public/verify/'+timenow;
}
</script>
<include file="Index:footer" />
